package com.aaa.entity;

import com.aaa.ann.ColunmAnn;
import com.aaa.ann.TableAnn;
import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * (Dept)实体类
 *
 * @author
 * @since 2022-08-15 10:15:55
 */
@Data
@RequiredArgsConstructor
@AllArgsConstructor
@NoArgsConstructor
@TableAnn(tableName = "dept")
public class Dept {
    /**
     * 主键，部门编号
     */

    @ColunmAnn(colName = "deptno")
    private Integer deptno;
    /**
     * 部门名称
     */
    @NonNull
    @ColunmAnn(colName = "dname")
    private String deptName;
    /**
     * 地址
     */
    @NonNull
    @ColunmAnn(colName = "loc")
    private String loc;

}

